package com.yingdong.message;

import com.yingdong.opcode.ServerOpcode;
import com.yingdong.sceneserver.inner.message.SendBaseMessage;

public class AlertMessage extends SendBaseMessage {

	public AlertMessage(int code, int type) {
		super(ServerOpcode.ALEART);
		writeInt(code);
		writeByte(type);
	}

	public AlertMessage(int code) {
		super(ServerOpcode.ALEART);
		writeInt(code);
		writeByte(0);
	}

}
